<!-- $Id: brand_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<div class="main-div">
<form method="post" action="shop.php" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">{$lang.nick}</td>
    <td><input type="text" name="nick" maxlength="60" size="30" value="{$shop.nick}" /> ({$lang.user_id}:{$shop.user_id}) {$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label">{$lang.shop_title}</td>
    <td><a href="{$shop.click_url}" target="_blank">{$shop.shop_title}</a> ({$lang.sid}:{$shop.sid})</td>
  </tr>
  <tr>
    <td class="label">{$lang.pic_path}</td>
    <td>{if $shop.pic_path neq ""}<img src="http://logo.taobao.com/shop-logo{$shop.pic_path}" />{/if}</td>
  </tr>
  <tr>
    <td class="label">{$lang.level}</td>
    <td>{if $shop.level neq ""}<img src="../images/level_{$shop.level}.gif" title="{$shop.level}" alt="{$shop.level}" />{/if}</td>
  </tr>
  <tr>
    <td class="label">{$lang.rate}</td>
    <td>{$shop.good_num}/{$shop.total_num}</td>
  </tr>
  <tr>
    <td class="label">{$lang.commission_rate}</td>
    <td>{$shop.commission_rate}</td>
  </tr>
  <tr>
    <td class="label">{$lang.title}</td>
    <td>{$shop.title}</td>
  </tr>
  <tr>
    <td class="label">{$lang.desc}</td>
    <td>{$shop.desc}</td>
  </tr>
  <tr>
    <td class="label">{$lang.bulletin}</td>
    <td>{$shop.bulletin}</td>
  </tr>
  <tr>
    <td class="label">{$lang.location}</td>
    <td>{$shop.location}</td>
  </tr>
  <tr>
    <td class="label">{$lang.date}</td>
    <td>{$shop.created}/{$shop.last_visit}/{$shop.modified}</td>
  </tr>
  <tr>
    <td class="label">{$lang.sort_order}</td>
    <td><input type="text" name="sort_order" maxlength="40" size="15" value="{$shop.sort_order}" /></td>
  </tr>
  <tr>
    <td class="label">{$lang.is_show}</td>
    <td><input type="radio" name="is_show" value="1" {if $shop.is_show eq 1}checked="checked"{/if} /> {$lang.yes}
        <input type="radio" name="is_show" value="0" {if $shop.is_show eq 0}checked="checked"{/if} /> {$lang.no}
        ({$lang.visibility_notes})
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center"><br />
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="old_nick" value="{$shop.nick}" />
      <input type="hidden" name="id" value="{$shop.sid}" />
    </td>
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['nick'].focus();
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("nick",  no_nick);
    validator.isNumber("sort_order", require_num, true);
    return validator.passed();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}